package com.xja.wechat.common;

public class demo {
    public static void main(String[] args) {
        String str="I am a boy";
        String srts[]=str.trim().split("");
        for (int i=srts.length-1;i>0;i--){
            System.out.print(srts[i]+"");
        }
    }
}
